 $("#edit_manager").click(function(){
            var zhuanye = $("#zhuanye").val();
            var zhicheng = $("#zhicheng").val();
            var qq = $("#qq").val();
            var mobile = $("#mobile").val();
            var password = $("#J_newpassword").val();
            var verify_psw = $("#J_verify_psw").val();
            if(zhuanye == ""){
                alert("专业不能为空");
                return false;
            }
            if(zhicheng == ""){
                alert("职称不能为空");
                return false;
            }
            if(mobile == ""){
                alert("手机号码不能为空");
                return false;
            }
            if(password == ""){
                alert("密码不能为空");
                return false;
            }
            if(password != "" || verify_psw != "")
            {
                if(password != verify_psw)
                {
                    alert("两次密码不一致");
                    return false;
                }
            }
            if (confirm("您确定要修改信息吗？")) {
                $.post("/user/reset_password",{zhuanye:zhuanye,zhicheng:zhicheng,qq:qq,mobile:mobile,"password":password},function(res)
                {
                    if (res.code == 1) {
                        layer.msg('修改成功');
                         window.parent.location.reload();
                    } else if(res.code < 0)
                    {
                        layer.msg(res.message);
                    }
                },"json");
            }
           
        });